<!doctype html>
<meta charset="utf-8">
<title>ref: WebGL: texImage2D with Array Buffer View</title>
<style>
  html, body { margin: 0; padding: 0; }
  div {
    width: 512px;
    height: 512px;
    background: red;
  }
</style>
<!-- This reftest should show a 512x512px red square -->
<div></div>
